import os
env = Environment(ENV = {'PATH' : os.environ['PATH']})

sources = ['orders', 'order', 'target', 'action']

print "Adding nodes for object files"

objects = []
for src_name in sources:
  print "  "+src_name
  objects.append(env.Object(target=src_name+'.obj', source=[src_name+'.d']))  
  
print "Adding node for program"
orders = env.Program(target='orders', source=objects)

Default(orders)

print
print "-*Configuration Done*-"
print
